package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.Getter;


/**
 * 设备参数设置对象 b_device_parameter
 *
 * @author ruoyi
 * @date 2021-04-06
 */
@Getter
@Data
public class BDeviceParameter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 变量guid
     */
    private String realDataGuid;

    /**
     * 映射值
     */
    @Excel(name = "映射值")
    private Integer mappingNum;

    /**
     * 映射内容
     */
    @Excel(name = "映射内容")
    private String mappingText;

    /*like查询*/
    private String realDataGuidLike;

    public void setId(Long id) {
        this.id = id;
    }

    public void setRealDataGuid(String realDataGuid) {
        this.realDataGuid = realDataGuid;
    }

    public void setMappingNum(Integer mappingNum) {
        this.mappingNum = mappingNum;
    }

    public void setMappingText(String mappingText) {
        this.mappingText = mappingText;
    }

    public void setRealDataGuidLike(String realDataGuidLike) {
        this.realDataGuidLike = realDataGuidLike;
    }
}
